from django.urls import re_path

from ABCD import views

urlpatterns = [
    re_path(r'^api/v1.0/houses$', views.UserHousend.as_view()),
    # re_path(r'^api/v1.0/user/houses$', views.UserHousend.as_view()),
    # 用户实名认证
    re_path(r'^api/v1.0/user/auth$', views.Auth.as_view()),
    # 首页房屋推荐
    re_path(r'^api/v1.0/houses/index$', views.Houserecommend.as_view()),
    # 搜索房源
    # re_path(r'^image_codes/(?P<uuid>[\w-]+)/$',
    #         views.ImageCodeView.as_view()),
# 发布房源
    # re_path(r'^api/v1.0/houses$', views.UserHousend.as_view()),
# 用户实名认证
    re_path(r'^api/v1.0/user/auth$', views.Auth.as_view()),
# 首页房屋推荐
    re_path(r'^api/v1.0/houses/index$', views.Houserecommend.as_view()),

    # re_path(r'^api/v1.0/houses$', views.SearchHouse.as_view()),
]

# //TODO 修改子路由


